/* 头部样式 */
header{
    width: 100%;
    height: 65px;
    border-bottom:1px solid #aec7ec;
}

header .logo{
    width: 230px;
    height: 30px;
}
/* nav */
header .nav{
    line-height: 65px;
    top:0;
    left:50%;
    /* CSS3平移效果 */
    transform: translateX(-50%);
}
header .nav li{
    float: left;
    margin: 0 20px;
}

header .nav li a{
    color: #666666;
    padding-bottom: 20px;
    font-size:16px;
}
/* 选中效果 */
header .nav .two a{
    border-bottom:2px solid #00bdff;
    color: #00bdff;
}
/* 登录和注册 */
header .right-box a{
    padding:5px 16px;
    border:2px solid #d1d1d1;
    color:#666666;
    border-radius: 14px;
    float: left;
}
header .right-box .register{
    background-color: #ed510a;
    border: 1px solid #ed510a;
    margin-left: 10px;
    color: #ffffff;
}
/* 2.API分类导航 */
#nav-list p{
    font-size: 26px;
    color: #3d3e3e;
    margin: 50px 0 25px 0;
}
#nav-list ul li{
    float: left;
    margin:0 10px 10px 0;
    padding: 5px 14px;
    border:2px solid #dddddd ;
    color: #666666;
    border-radius: 10px;
}
#nav-list ul li:hover{
    cursor: pointer;
}
#nav-list ul .active{
    color: #00bdff;
    border:2px solid #00bdff ;
}

/* 3.搜索框 */
.api-search{
    line-height: 30px;
    margin-top: 56px;
}
.api-search form{
    width: 230px;
    height: 30px;
    background-color: #f4f4f4;
    border-radius: 16px;
}
.api-search form input{
    width: 200px;
    height: 30px;
    border: none;
    background-color: transparent;
}
.api-search form .btn{
    background: url(../imgs/magnifier.png) no-repeat 0 6px;
    width: 26px;
}
.api-search form .btn:hover{
    cursor: pointer;
}
/* 4.API全部列表 */
#API-list{
    margin-top: 24px;
}
#API-list ul li{
    float: left;
    width: 226px;
    height: 270px;
    border:2px solid #eeeeee ;
    margin: 0 14px 14px 0;
    box-sizing: border-box;
    padding-top: 58px;
    position: relative;
    
}
#API-list ul{
    width: 1200px;
    height: 270px;
}
#API-list ul .five{
    margin-right: 0;
}
#API-list ul .use{
    position: absolute;
    top: 10px;
    left: 10px;
    width: 58px;
    height: 22px;
    background-color: #e5f8ff;
    color: #00bdff;
    font-size: 12px;
    line-height: 22px;
}
#API-list ul .one{
    line-height: 52px;
}
#API-list ul .free{
    font-size: 14px;
    color: #29c287;
    margin-top: -5px;
}
#API-list ul .prize{
    font-size: 14px;
    color: #ff546b;
}
#API-list ul li a{
    padding:10px 72px ;
    color: #ffffff;
    background-color: #00bdff;
    display: inline-block;
    font-size: 12px;
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: none; 
    transition: all 0.2s linear;
}
#API-list ul li:hover  a{
    bottom: 16px;   
}
#API-list ul li:hover li{
    padding-top: 35px;
}
/* 分页列表 */
#page ul{
    width: 448px;
    margin: 44px auto 72px;
}
#page ul li{
    float: left;
}
#page ul li a{
    display: inline-block;
    font-size: 12px;
    margin-right: 30px;
    color: #000;
}

#page ul li .one{
    width: 24px;
    height: 24px;
    background-color: #00bdff;
    color: #ffffff;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
}
#page ul li .next{
    width: 60px;
    color: #00bdff;
    margin-left: 20px;
}
/* 页脚 */
footer{
    width: 100%;
    background-color: #f8f8f8;
    height: 328px;
}
footer .container ul .fl{
    margin: 44px 90px 44px 0;
}
footer .container ul .fl .one{
    font-size: 14px;
    color: #000;
    margin-bottom: 28px; ;
}
footer .container .qr-code{
    margin-top: 44px;
} 
footer .container .foot{
    color: #d1d1d1;
    margin-bottom:16px;
}
footer .foot .picture2{
    margin: 0 8px;
}

/* 6.返回顶部 */
#returnTop{
    width: 40px;
    height: 40px;
    background-color: #aaa8a9;
    border-radius: 50%;
    line-height: 40px;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 100px;
    display: none;
}

